package com.xgxf.server.service.impl;

import com.xgxf.server.common.JsonResult;
import com.xgxf.server.mapper.SubjectiveItemsMapper;
import com.xgxf.server.pojo.SubjectiveItems;
import com.xgxf.server.service.ISubjectiveItemsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SubjectiveItemsServiceImpl implements ISubjectiveItemsService {

    @Autowired
    private SubjectiveItemsMapper subMapper;

    @Override
    public JsonResult getList() {
        List<SubjectiveItems> data = subMapper.getList();

        return JsonResult.success(data,"产品参数列表获取成功！");
    }
}
